package top.wilbert.collegelink.forum.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.io.Serializable;
import java.util.Date;
import lombok.Data;

/**
 * 
 * 
 * @author Augus
 * @email 2531496343@qq.com
 * @date 2023-03-06 19:20:33
 */
@Data
@TableName("thumb")
public class ThumbEntity implements Serializable {
	private static final long serialVersionUID = 1L;

	/**
	 * 点赞(收藏)id
	 */
	@TableId
	private Long thumbId;
	/**
	 * 类型（0：点赞；1：收藏）
	 */
	private Integer type;
	/**
	 * 点赞(收藏)目标id
	 */
	private Long targetId;
	/**
	 * 目标类型
	 */
	private Integer targetType;
	/**
	 * 用户id
	 */
	private Long userId;
	/**
	 * 创建时间
	 */
	private Date createTime;

}
